package com.ruoyi.restaurant.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 评价管理对象 res_appraise
 * 
 * @author zhang
 * @date 2023-12-19
 */
public class ResAppraise extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评论编号 */
    private Long id;

    /** 店铺编号 */
    @Excel(name = "店铺编号")
    private Long shopId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 评价 */
    @Excel(name = "评价")
    private String appraise;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setAppraise(String appraise) 
    {
        this.appraise = appraise;
    }

    public String getAppraise() 
    {
        return appraise;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("shopId", getShopId())
            .append("userId", getUserId())
            .append("appraise", getAppraise())
            .append("createTime", getCreateTime())
            .toString();
    }
}
